package in.iqing.module.download;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.NoAutoIncrement;
import com.lidroid.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * Created by ZuoShu on 2015/7/16.
 */
@Table(name = "book_task")
public class BookTask implements Serializable {
    @Id
    @NoAutoIncrement
    @Column(column = "book_id")
    private int bookId;

    @Column(column = "cover")
    private String cover;

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    @Override
    public String toString() {
        return "BookTask{" +
                "bookId=" + bookId +
                ", cover='" + cover + '\'' +
                '}';
    }
}
